Total Complexity | 93 |
Dependencies | 2 |
Dependents | 2 |
Total lines | 461 |
Lines of code | 280 |
Logical lines of code | 181 |
Comment lines | 77 |
Methods | 14 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
filter() | 43 | 19 | 46 | |
getCommentsByDates() | 45 | 15 | 40 | |
getBlockedRoomsCounts() | 45 | 13 | 40 | |
__construct() | 51 | 8 | 29 | |
getUnavailableRooms() | 53 | 6 | 22 | |
verify() | 56 | 6 | 19 | |
mergeRestrictions() | 60 | 5 | 13 | |
getGlobalTypeRestrictions() | 59 | 4 | 15 | |
getGlobalRulesForRoomTypeId() | 61 | 4 | 13 | |
getGlobalRestrictions() | 62 | 3 | 12 | |
verifyNotCheckInRestriction() | 66 | 3 | 9 | |
verifyNotCheckOutRestriction() | 66 | 3 | 9 | |
verifyNotStayInRestriction() | 65 | 3 | 9 | |
getUnavailableRoomsCount() | 75 | 1 | 4 |